package com.ywgt.service;

import com.github.pagehelper.Page;
import com.ywgt.pojo.Storage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 文件存储表 服务类
 * </p>
 *
 * @author yiping
 * @since 2021-03-13
 */
public interface StorageService extends IService<Storage> {

    boolean create(String url, MultipartFile file);

    Page<Storage> getStorages(String name, String key, int page, int limit, String sort, String order);
}
